﻿using HeadFirst._06.Command._01.ThridPart;
using System;
using System.Collections.Generic;
using System.Text;

namespace HeadFirst._06.Command._01.Impl
{
    public class LightOnCommand : ICommand
    {
         Light _light;
        public LightOnCommand(Light light) { _light = light; }
        public void Excute()
        {
            _light.On();
        }
    }
}
